﻿<!doctype html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <title>@{
        if(String.IsNullOrWhiteSpace(ViewBag.Title))
        {
            @:Richard Hughes
        }
        else
        {
            @ViewBag.Title
        }
    }</title>

    <link rel="stylesheet" href="/Styles/layout.css" type="text/css" media="screen" />
    <!--[if lt IE 9]>
	<link rel="stylesheet" href="/Styles/ie.css" type="text/css" media="screen" />
	<script src="/Scripts/html5.js"></script>
	<![endif]-->
    <script src="/Scripts/jquery-1.8.0.min.js" type="text/javascript"></script>
    <script src="/Scripts/hideshow.js" type="text/javascript"></script>
    <script src="/Scripts/jquery.tablesorter.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="/Scripts/jquery.equalHeight.js"></script>
    <script type="text/javascript" src="/Scripts/admin.js"></script>
    <script type="text/javascript">

        $(document).ready(function () {

            $(".tablesorter").tablesorter();
            $(".tab_content").hide();
            $("ul.tabs li:first").addClass("active").show();
            $(".tab_content:first").show();

            $("ul.tabs li").click(function () {

                $("ul.tabs li").removeClass("active");
                $(this).addClass("active");
                $(".tab_content").hide();

                var activeTab = $(this).find("a").attr("href");
                $(activeTab).fadeIn();

                return false;
            });

            @RenderSection("ScriptLoad", required: false)
        });
    </script>
    <script type="text/javascript">
        $(function () {
            $('.column').equalHeight();
        });
    </script>

</head>


<body>
    <header id="header">
        <hgroup>
            <h1 class="site_title"><a href="index.html">Website Admin</a></h1>
            <h2 class="section_title">Dashboard</h2>
        </hgroup>
        <div class="btn_view_site"><a href="/" target="_blank">View Site</a></div>
    </header>
    <!-- end of header bar -->

    <section id="secondary_bar">
        <div class="user">
            @{ this.Html.RenderAction("UserInformation", "Admin"); }
        </div>
        <div class="breadcrumbs_container">
            <article class="breadcrumbs">
                <a href="index.html">Website Admin</a>
                <div class="breadcrumb_divider"></div>
                <a class="current">Dashboard</a>
            </article>
        </div>
    </section>
    <!-- end of secondary bar -->

    <aside id="sidebar" class="column">
        <form class="quick_search">
            <input type="text" value="Quick Search" onfocus="if(!this._haschanged){this.value=''};this._haschanged=true;">
        </form>
        <hr />
        @{ this.Html.RenderAction("SideMenu", "Admin"); }

        <footer>
            <hr />
            <p><strong>Copyright &copy; 2011 Website Admin</strong></p>
            <p>Theme by <a href="http://www.medialoot.com">MediaLoot</a></p>
        </footer>
    </aside>
    <!-- end of sidebar -->

    <section id="main" class="column">

        <div id="infoMessage"></div>

        @RenderBody()

        <div class="spacer"></div>
    </section>

</body>

</html>
